/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.flowable.bpm.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>认领信息</p>
 *
 * @author: zhangyuan
 * @date: 2021-04-29 22:18
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
@Data
@TableName("project_claim")
public class ProjectClaimEntity {
	@TableId(value = "id",type = IdType.AUTO)
	protected Long id;
	//到账日期
	@TableField(value = "arrival_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	private Date arrivalTime;
	//到账金额
	@TableField(value = "arrival_amount")
	protected BigDecimal arrivalAmount;
	//汇款单位
	@TableField(value = "remittance_unit")
	protected String remittanceUnit;
	//备注附言
	@TableField(value = "remarks")
	protected String remarks;
	//已领金额
	@TableField(value = "claim_amount")
	protected BigDecimal claimAmount;
	//未认领金额
	@TableField(value = "unclaimed_amount")
	protected BigDecimal unclaimedAmount;
	//认领状态（0：未认领 1：未全部认领 2：已认领）
	@TableField(value = "claim_status")
	protected int claimStatus;
	//合并认领人
	@TableField(value = "merge_claim")
	protected String mergeClaim;
	//编号
	@TableField(value = "claim_code")
	protected String claimCode;
	//用户id
	@TableField(value = "user_id")
	protected Long userId;





}
